package com.wsc.entity;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Entity
@Table(name = "t_sections")
@AllArgsConstructor
@NoArgsConstructor
@Data
//科室实体类（主表）关联教师实体类（从表--外键所在的表）
public class Section {
	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	private Integer id;//编号
	private String name;//科室名称
	private String remark;//备注
	//id name remark
}
